(function() { var baseURL = "https://cdn.shopify.com/shopifycloud/checkout-web/assets/"; var scripts = ["https://cdn.shopify.com/shopifycloud/checkout-web/assets/c1.es/polyfills.aaTJ3aJS.js","https://cdn.shopify.com/shopifycloud/checkout-web/assets/c1.es/app.B0nUIX83.js","https://cdn.shopify.com/shopifycloud/checkout-web/assets/c1.es/page-OnePage.DAcFR33I.js","https://cdn.shopify.com/shopifycloud/checkout-web/assets/c1.es/DeliveryMethodSelectorSection.CsFfbD3B.js","https://cdn.shopify.com/shopifycloud/checkout-web/assets/c1.es/useUiComponentsColorContrast.DzbwtNb_.js","https://cdn.shopify.com/shopifycloud/checkout-web/assets/c1.es/VaultedPayment.yQkUxEF6.js","https://cdn.shopify.com/shopifycloud/checkout-web/assets/c1.es/LocalizationExtensionField.CrJmdheo.js","https://cdn.shopify.com/shopifycloud/checkout-web/assets/c1.es/RememberMeDescriptionText.B3XLVn8y.js","https://cdn.shopify.com/shopifycloud/checkout-web/assets/c1.es/PayButtonSection.DQu-PxQc.js","https://cdn.shopify.com/shopifycloud/checkout-web/assets/c1.es/component-ShopPayVerificationSwitch.DnALbFbq.js","https://cdn.shopify.com/shopifycloud/checkout-web/assets/c1.es/useSubscribeMessenger.CN6wLd17.js","https://cdn.shopify.com/shopifycloud/checkout-web/assets/c1.es/index.cF_S5cVK.js"]; var styles = ["https://cdn.shopify.com/shopifycloud/checkout-web/assets/c1.es/assets/app.DwfctITT.css","https://cdn.shopify.com/shopifycloud/checkout-web/assets/c1.es/assets/OnePage.oSq5W9_x.css","https://cdn.shopify.com/shopifycloud/checkout-web/assets/c1.es/assets/DeliveryMethodSelectorSection.DXQyvaAT.css","https://cdn.shopify.com/shopifycloud/checkout-web/assets/c1.es/assets/useUiComponentsColorContrast.D_HPU8Dh.css","https://cdn.shopify.com/shopifycloud/checkout-web/assets/c1.es/assets/ShopPayVerificationSwitch.DVQdwG9J.css"]; var fontPreconnectUrls = []; var fontPrefetchUrls = []; var imgPrefetchUrls = ["https://cdn.shopify.com/s/files/1/0536/1654/1895/files/LOGO_GETTOSHOPNEGRO-01_b840df9e-f60c-474b-a472-a3aca9624932_x320.png?v=1630574429"]; function preconnect(url, callback) { var link = document.createElement('link'); link.rel = 'dns-prefetch preconnect'; link.href = url; link.crossOrigin = ''; link.onload = link.onerror = callback; document.head.appendChild(link); } function preconnectAssets() { var resources = [baseURL].concat(fontPreconnectUrls); var index = 0; (function next() { var res = resources[index++]; if (res) preconnect(res, next); })(); } function prefetch(url, as, callback) { var link = document.createElement('link'); if (link.relList.supports('prefetch')) { link.rel = 'prefetch'; link.fetchPriority = 'low'; link.as = as; if (as === 'font') link.type = 'font/woff2'; link.href = url; link.crossOrigin = ''; link.onload = link.onerror = callback; document.head.appendChild(link); } else { var xhr = new XMLHttpRequest(); xhr.open('GET', url, true); xhr.onloadend = callback; xhr.send(); } } function prefetchAssets() { var resources = [].concat( scripts.map(function(url) { return [url, 'script']; }), styles.map(function(url) { return [url, 'style']; }), fontPrefetchUrls.map(function(url) { return [url, 'font']; }), imgPrefetchUrls.map(function(url) { return [url, 'image']; }) ); var index = 0; function run() { var res = resources[index++]; if (res) prefetch(res[0], res[1], next); } var next = (self.requestIdleCallback || setTimeout).bind(self, run); next(); } function onLoaded() { try { if (parseFloat(navigator.connection.effectiveType) > 2 && !navigator.connection.saveData) { preconnectAssets(); prefetchAssets(); } } catch (e) {} } if (document.readyState === 'complete') { onLoaded(); } else { addEventListener('load', onLoaded); } })();